strconv.decimal.dp (field)
41 uses
strconv (current package)
atof.go#L104: b.dp = b.nd
atof.go#L110: b.dp--
atof.go#L127: b.dp = b.nd
atof.go#L160: b.dp += e * esign
atof.go#L328: if d.dp > 310 {
atof.go#L331: if d.dp < -330 {
atof.go#L340: for d.dp > 0 {
atof.go#L342: if d.dp >= len(powtab) {
atof.go#L345: n = powtab[d.dp]
atof.go#L350: for d.dp < 0 || d.dp == 0 && d.d[0] < '5' {
atof.go#L352: if -d.dp >= len(powtab) {
atof.go#L355: n = powtab[-d.dp]
decimal.go#L17: dp int // decimal point
decimal.go#L24: if a.dp > 0 {
decimal.go#L25: n += a.dp
decimal.go#L27: if a.dp < 0 {
decimal.go#L28: n += -a.dp
decimal.go#L37: case a.dp <= 0:
decimal.go#L43: w += digitZero(buf[w : w+-a.dp])
decimal.go#L46: case a.dp < a.nd:
decimal.go#L48: w += copy(buf[w:], a.d[0:a.dp])
decimal.go#L51: w += copy(buf[w:], a.d[a.dp:a.nd])
decimal.go#L56: w += digitZero(buf[w : w+a.dp-a.nd])
decimal.go#L76: a.dp = 0
decimal.go#L100: a.dp = a.nd
decimal.go#L132: a.dp -= r - 1
decimal.go#L310: a.dp += delta
decimal.go#L394: a.dp++
decimal.go#L400: if a.dp > 20 {
decimal.go#L405: for i = 0; i < a.dp && i < a.nd; i++ {
decimal.go#L408: for ; i < a.dp; i++ {
decimal.go#L411: if shouldRoundUp(a, a.dp) {
ftoa.go#L171: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L187: d.Round(d.dp + prec)
ftoa.go#L194: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L258: if exp > minexp && 332*(d.dp-d.nd) >= 100*(exp-int(flt.mantbits)) {
ftoa.go#L313: mi := ui - upper.dp + d.dp
ftoa.go#L317: li := ui - upper.dp + lower.dp
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |